package cn.com.jslh.boarpro.main.model;

import android.content.Context;

import cn.com.jslh.boarpro.util.NetBean;

/**
 * Created by lenovo on 2018/4/4.
 */

public class UpDataAppModelImpl {
    private Context context;

    public UpDataAppModelImpl(Context context) {
        this.context = context;
    }

    public void initData(String js,NetBean.NetSuccessListener successListener, NetBean.NetFaildListener faildListener){
        new NetBean.Builder(context)
                .setMethod("/api/check")
                .setHeader("contant-type","application/json")
                .setJson(js)
                .setSuccess(successListener)
                .setFaild(faildListener)
                .build();
    }



}
